Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github: Publish test results #45

Closed
wants to merge 2 commits into from
Closed

Conversation

wjt
Copy link
Member

@wjt wjt commented Jun 18, 2024

This annotates the source location when a check fails, and adds a comment if at least one test has failed.

https://phabricator.endlessm.com/T35508

@wjt wjt force-pushed the github-action-test-result-publish branch from ecb5ce1 to 0be3cbe Compare June 18, 2024 10:05
Copy link

github-actions bot commented Jun 18, 2024

Test Results

6 tests   5 ✅  0s ⏱️
1 suites  0 💤
1 files    1 ❌

For more details on these failures, see this check.

Results for commit a09090c.

♻️ This comment has been updated with latest results.

wjt added 2 commits June 18, 2024 11:09
This annotates the source location when a check fails, and adds a
comment if at least one test has failed.

https://phabricator.endlessm.com/T35508
@wjt wjt force-pushed the github-action-test-result-publish branch from abf0570 to a09090c Compare June 18, 2024 10:09
with:
files: test-report.xml
comment_mode: failures
test_file_prefix: "-res://"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem to work; so the annotations don't get lined up with the source files.

@wjt
Copy link
Member Author

wjt commented Jun 18, 2024

Not an improvement on just running the test.

@wjt wjt closed this Jun 18, 2024
@wjt wjt deleted the github-action-test-result-publish branch June 18, 2024 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant